Created: 11/October/2015
By: SocialMaterial
Email: socialmaterial@hotmail.com
© All Rights Reserved SocialMaterial
Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!
The SocialMat theme is a fixed layout with two columns. All the menu is in header-menu class and the posts in the global-main-container. The general template structure is the same throughout the template. Here is the general structure.
If you would like to edit theme color then you need to open currnet using theme css file. Like green_theme.css, black_theme.css, red_theme.css or blue_theme.css and add your own color code
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn't a similar style that has more weight.
I.E.
.global-main-container .icon { margin: YourMargin; padding: YourPadding; height: YourHeight; width: YourWidth; color: #YourColor !important; overflow: hidden; float: left; font-size: YourFontSize; cursor: pointer; }
So, to ensure that your new styles are applied, make sure that they carry enough "weight" and that there isn't a style lower in the CSS file that is being applied after yours.
I'm using thirteen CSS files in this theme. The first one is a generic reset file. Many browser interpret the default behavior of html elements differently. By using a general reset CSS file, we can work round this. This file also contains some general styling, such as anchor tag colors, font-sizes, etc. Keep in mind, that these values might be overridden somewhere else in the file.
The second file icons. You can see the all different 523 icon in this CSS file.
The thirt file for chat file. In this CSS file you can change any style for chat page.
The fourth file is for animation. This file is working all page. If you change the any animation style then make sure the animation working all page or not.
The fifth file is for the lightbox. This CSS file working all page. If you want to make a new style like color then this color working with all page.
The sixth file is for alertbox. This file is working for the post delete and also it is working all page.
The seventy file is for user banned page. This file is working only banned page.
The eighth file is for green color theme.
The ninth file is for red color theme.
The ninth file is for black color theme.
The ninth file is for blue color theme.
The tenth file is for login page.
To explain briefly:
/* === global.css === */ It is used in all pages. /* === animate.min.css === */ It is used in all pages /* === icons.css === */ It is used in all pages /* === lightbox.css === */ It is used in all pages /* === chat.css ===*/ It is used only chat.php /* === sweet-alert.css ===*/ It is used in all pages /* === green_theme.css === */ The green_theme.css is main theme color. /* === red_theme.css === */ It is used red color if you are using red_theme.css /* === blue_theme.css === */ It is used blue color if you are using blue_theme.css /* === black_theme.css === */ It is used black color if you are using black_theme.css /* === index.css === */ It is used only login page (index.php) etc, etc.
You have green_theme.css, black_theme.css, blue_theme.css and red_theme.css you can use any theme in your SocialMat.V1.3 script.
How do i use theme?
The original theme is green_theme.css. You need to change it. Open header.php, profile-header.php, header_message.php and fined the green_theme.css then which theme you want to use it to change the name of the theme like (red_theme.css, black_theme.css or blue_theme.css). Then save it. Thats it.If you would like to edit a specific section of the site, simply find the appropriate label in the CSS file, and then scroll down until you find the appropriate style that needs to be edited.
The main div width on all pages max-width: 580px; If you would like to edit the width of these div, find the following section in the global.css style sheet:
.global-main-container { max-width: 580px; /* Set the width you want */ min-width: 300px; }
This SocialMat theme imports thirty four Javascript files.
The SocialMat twenty eigh consists of important pages. The other pages are the children of this important 16 page:
Note: The includes.php file is important Because this is an important place on each page for the database connection.
Please follow these steps to installation
define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'YOURDBUSERNAME'); // Your database username define('DB_PASSWORD', 'YOURDBPASSWORD'); // Your database password define('DB_DATABASE', 'YOURDBNAME'); // Your database name $base_url='http://localhost:8888/'; // http://yourwebsitename.com
$(document).ready(function()
{
$.base_url='http://localhost/'; // http://www.yourwebsite.com/
...........
...........
}
Script/js/chat.js,chat_de.js,chat_fr.js,chat_tr.js
$(document).ready(function()
{
$.base_url='http://localhost/'; // http://www.yourwebsite.com/
...........
...........
}
Script/smadmin/js/admin.js
$(document).ready(function() { $.base_url='http://localhost/smadimn/'; // http://www.yourwebsite.com/smadmin/ $.report_url = 'http://localhost/';// http://www.yourwebsite.com/ ........... ........... }
Change http://localhost:8888/ and change like http://www.yourwebsitename.com/
Options +FollowSymLinks -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^ - [L] RewriteRule ^friends/([\w-]+)/?$ /friends.php?username=$1 [L,QSA] RewriteRule ^followers/([\w-]+)/?$ /followers.php?username=$1 [L,QSA] RewriteRule ^settings/([\w-]+)/?$ /settings.php?username=$1 [L,QSA] RewriteRule ^messages/([\w-]+)/?$ /chat.php?message_username=$1 [L,QSA] RewriteRule ^following/([\w-]+)/?$ /following.php?username=$1 [L,QSA] RewriteRule ^following/([\w-]+)/([0-9]+)/?$ /following.php?username=$1&page=$2 [L,QSA] RewriteRule ^followers/([\w-]+)/?$ /followers.php?username=$1 [L,QSA] RewriteRule ^followers/([\w-]+)/([0-9]+)/?$ /followers.php?username=$1&tpage=$2 [L,QSA] RewriteRule ^explore/([\w-]+)/?$ /explore.php?username=$1 [L,QSA] RewriteRule ^explore/([\w-]+)/([0-9]+)/?$ /explore.php?username=$1&page=$2 [L,QSA] RewriteRule ^photos/([\w-]+)/?$ /userphotos.php?username=$1&page=$2 [L,QSA] RewriteRule ^(.*/([a-zA-Z0-9_-]+)|([a-zA-Z0-9_-]+))$ /profile.php?username=$1 [L,QSA]
Once again, thank you so much for purchasing SocialMat.V1.3 . As I said at the beginning, I'd be glad to help you if you have any questions relating to SocialMat.V1.3. No guarantees, but I'll do my best to assist. please feel free to email via my user page contact form here.
SocialMatv1.3 © All Rights Reserved SocialMaterial